import { Injectable } from '@angular/core';
@Injectable({
  providedIn: 'root'
})
export class ElectronService {

  constructor() {
    if (this.isElectron) {
      
    }
  }

  get isElectron(): boolean {
    return window && window.electronAPI;
  }
}
